/**
 * @filename:Category Category
 * @project constract  V1.0
 * Copyright(c) 2018 lin keqing Co. Ltd. 
 * All right reserved. 
 */
package com.znufe.exam.domain;

import java.io.Serializable;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**   
 *  
 * @Description:  类别信息表
 * @Author:       lin keqing   
 * @CreateDate:   Category
 * @Version:      V1.0
 *    
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Category implements Serializable {

	private static final long serialVersionUID = 1591874484543L;
	
	@ApiModelProperty(name = "id" , value = "逻辑主键")
	private Integer id;

	@ApiModelProperty(name = "categoryId" , value = "类别主键 枚举类型的主键 0-课程，1-项目")
	private Integer categoryId;

	@ApiModelProperty(name = "concreteName" , value = "每个类别下具体的名称")
	private String concreteName;

	@ApiModelProperty(name = "isEnabled" , value = "0-禁用，1-启用")
	private Integer isEnabled;

	@ApiModelProperty(name = "isDeleted" , value = "0-未删除，1-删除")
	private Integer isDeleted;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@ApiModelProperty(name = "createTime" , value = "记录创建的时间")
	private Date createTime;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@ApiModelProperty(name = "modifiedTime" , value = "记录修改的时间")
	private Date modifiedTime;

}
